package com.easyaop.commons;

public class MyLoader extends ClassLoader{
    public MyLoader(ClassLoader parent) {
        super(parent);
    }

    public Class<?> loadClass(String name, byte[] bytes) throws ClassNotFoundException {
//        try {
//            Class<?> aClassss = Class.forName(name);
//            return aClass;
//        } catch (ClassNotFoundException e) {
            return defineClass(name,bytes,0, bytes.length);
//        }
    }
}
